<template>
    <div class="home">Home页面</div>
</template>
<script>
export default{
    data(){
        return{

        }
    },
    mounted(){
        const arr1 = [1.2,3,4,5,7]
        const arr2 = [...arr1]
        console.log(arr2,'arr2')
        const promise = new Promise((resolve,reject)=>{
            console.log('resolve')
            resolve('8888')
        })
        promise.then(res=>{
            console.log(res,'res')
        })
    }
}
</script>
<style lang="scss" scoped>
.home{
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>